package com.hifar.test.synctable8357.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.hifar.plat.AopOption.Dict;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

import lombok.EqualsAndHashCode;

import java.io.Serializable;

import com.hifar.plat.AopOption.Excel;

/**
 * <p>
 * 系统-模版表
 * </p>
 *
 * @author wangkepeng
 * @since 2024-11-12 19:27:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_info_sync_table")
@ApiModel(value = "SysInfoSyncTable对象", description = "系统-模版表")
public class SysInfoSyncTable8357 extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 表名称
     */
    @Excel(name = "表名称", sort = 1)
    @ApiModelProperty(value = "表名称")
    @TableField("table_name")
    @JSONField(name = "tableName")
    private String tableName;


    /**
     * 描述
     */
    @Excel(name = "描述", sort = 1)
    @ApiModelProperty(value = "描述")
    @TableField("description")
    @JSONField(name = "description")
    private String description;


    /**
     * 备注
     */
    @Excel(name = "备注", sort = 1)
    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    @JSONField(name = "remarks")
    private String remarks;

    /**
     * 同步策略
     */
    @Excel(name = "同步策略", sort = 1)
    @ApiModelProperty(value = "同步策略")
    @Dict(dictCode = "sync_data_strategy")
    @TableField("strategy")
    @JSONField(name = "strategy")
    private String strategy;


    /**
     * 数据源(1主库2采集库)
     */
    @Excel(name = "数据源(1主库2采集库)", sort = 1)
    @ApiModelProperty(value = "数据源(1主库2采集库)")
    @TableField("datasource")
    @JSONField(name = "datasource")
    private String datasource;


}